Use $(QUILT_STAMPFN) instead of patch as dependency.
authorBernd Zeimetz <bernd@bzed.de>
Tue, 4 May 2010 23:34:55 +0000 (01:34 +0200)
committerBernd Zeimetz <bernd@bzed.de>
Tue, 4 May 2010 23:34:55 +0000 (01:34 +0200)
This avoids running configure twice.

debian/rules

index b459f00de545a92df23af18b37a176167255960b..0e6360a953f0feae57e0947a945da092a9fd4642 100755 (executable)
@@ -23,7 +23,7 @@ CONFENV = LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)"
 
 
 configure: configure-stamp gui/Makefile
-configure-stamp: patch
+configure-stamp: $(QUILT_STAMPFN)
        dh_testdir
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
        cp -f /usr/share/misc/config.sub config.sub
@@ -49,7 +49,7 @@ debian/gpsbabel.1: build-stamp
                        -o $@ \
                        gpsbabel
 
-gui/Makefile: patch
+gui/Makefile: $(QUILT_STAMPFN)
        cd gui && qmake-qt4
 
 build: build-stamp build-gui-stamp build-doc-stamp debian/gpsbabel.1